<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
	<meta name="apple-mobile-web-app-capable" content="no" />
	<title>消息列表</title>
	<link rel="stylesheet" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/mui/css/mui.min.css">
	<link rel="stylesheet" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/sui/css/SUI.css?v123">
    <link rel="stylesheet" type="text/css" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/font/iconfont.css">
    <link rel="stylesheet" type="text/css" href="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/css/app.css?v=042103">
	<style type="text/css">
	.nosms{height: 100vh;background: url('/static/wechat/img/nosms.png') no-repeat;background-size: 55%;background-position: center;}
	</style>
</head>
<body>
	<div class="mui-content msg">
		{{if .json}}
		<ul class="mui-table-view">
			{{range .json}}
			<li class="mui-table-view-cell goto" href="/mobile/my/message_content?id={{.member.id}}">
				<!-- <div class="mui-slider-right mui-disabled">
					<a class="mui-btn mui-btn-red">删除</a>
				</div> -->
				<div class="mui-slider-handle">
					<span style="background-image: url({{.member.pathname}});"></span>
					<p>{{.member.monicker}} <span>{{.addtime}}</span></p>
					<p>{{.content}}{{if .noread}}
						{{if ne .noread "0"}}<span>{{.noread}}</span>{{end}}{{end}}</p>
				</div>
			</li>
			{{end}}
		</ul>
		{{else}}
		<div class="nosms"></div>
		{{end}}
	</div>
</body>
<script type="text/javascript" src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/sui/js/SUI.js"></script>
<script type="text/javascript" src="https://tcsc.oss-cn-hangzhou.aliyuncs.com/static/wechat/frame/mui/js/mui.min.js"></script>
<script type="text/javascript" charset="utf-8">
</script>
{{template "wechat/public/share.html" .}}
</html>